package com.hanggold.springboot.environment.ps;

import org.springframework.core.env.PropertySource;

public class MyPropertySource extends PropertySource<Object> {

    public  MyPropertySource(String name,Object source){
        super(name,source);
    }

    @Override
    public Object getProperty(String name) {
        System.out.println("smc.name");
        return "我是念梓";
    }







}
